package com.clkj.xiuzheng.pojo.shangcheng;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

/**
 * @author yawang
 * @date Wed May 22 11:48:33 CST 2024
 * @description 用户佣金获取或发放详情
 */
@ApiModel( value ="t_xz_userCommDetail" )
@Table( name ="t_xz_userCommDetail" )
public class UserCommDetail  implements Serializable {

    @Id
   	@Column(name = "detail_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer detailId;

   	@Column(name = "user_id" )
	@ApiModelProperty( value="推广员id ")
	private Integer userId;

	/**
	 * 得到或发放的佣金
	 */
   	@Column(name = "total_money" )
	@ApiModelProperty( value="得到或发放的佣金")
	private Double totalMoney;

   	@Column(name = "date_time" )
	@ApiModelProperty( value="null")
	private String dateTime;

	/**
	 * 0用户充值  1佣金发放
	 */
   	@Column(name = "detail_flag" )
	@ApiModelProperty( value="0用户充值  1佣金发放")
	private Integer detailFlag;

   	@Column(name = "detail_note" )
	@ApiModelProperty( value="备注")
	private String detailNote;

    @Column(name = "recharge_num" )
    @ApiModelProperty( value="充值金额")
    private Double  rechargeNum;

    @Column(name = "recharge_id" )
    @ApiModelProperty( value="充值用户ID")
    private Integer  rechargeId;

    @Transient
    private String userName;
    @Transient
    private String userImg;


  public Integer getDetailId() {
    return detailId;
  }

  public void setDetailId(Integer detailId) {
    this.detailId = detailId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Double getTotalMoney() {
    return totalMoney;
  }

  public void setTotalMoney(Double totalMoney) {
    this.totalMoney = totalMoney;
  }


  public String getDateTime() {
    return dateTime;
  }

  public void setDateTime(String dateTime) {
    this.dateTime = dateTime;
  }


  public Integer getDetailFlag() {
    return detailFlag;
  }

  public void setDetailFlag(Integer detailFlag) {
    this.detailFlag = detailFlag;
  }


  public String getDetailNote() {
    return detailNote;
  }

  public void setDetailNote(String detailNote) {
    this.detailNote = detailNote;
  }

    public Double getRechargeNum() {
        return rechargeNum;
    }

    public void setRechargeNum(Double rechargeNum) {
        this.rechargeNum = rechargeNum;
    }

    public Integer getRechargeId() {
        return rechargeId;
    }

    public void setRechargeId(Integer rechargeId) {
        this.rechargeId = rechargeId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserImg() {
        return userImg;
    }

    public void setUserImg(String userImg) {
        this.userImg = userImg;
    }
}
